<?php

class StatusManager extends TModule
{
	static $ACCEPTED_STATUS = 'accepted';
	static $REJECTED_STATUS = 'rejected';
	static $AWAITING_STATUS = 'awaiting';
	
	
	// -------------------- basic functions --------------------
	
	// -------------------- extended functions --------------------
	public function getStatusesList()
	{
		return array(
				StatusManager::$ACCEPTED_STATUS,
				StatusManager::$REJECTED_STATUS,
				StatusManager::$AWAITING_STATUS
			);
	}
	
	public function countStatuses()
	{
		return sizeof($this->getPaymentsList());
	}
}

?>